package com.example.myxutil;


import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;

import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.ViewInject;
import com.lidroid.xutils.view.annotation.event.OnItemClick;


/**
 * A simple {@link Fragment} subclass.
 */
public class MyFragment extends Fragment{

    @ViewInject(R.id.lv_my)
    private ListView lvMy;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view= inflater.inflate(R.layout.fragment_my, container, false);
        ViewUtils.inject(this,view);
        initView();
        return view;
    }

    private void initView() {

    }


    @OnItemClick(R.id.lv_my)
    public void onItemClick(AdapterView<?> parent, View view, int position, long id) {

    }
}
